﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smartec.Accounts.Camel.AMS.Model.Entities;
using Smartec.Accounts.Camel.AMS.Model.Repository;

namespace Smartec.Accounts.Camel.AMS.Model.Facades
{
    public static class DBAuditFacade
    {
        //
        // Query Methods

        public static IEnumerable<DBAuditDetail> FindAllDBAuditDetails(DateTime? dateFrom, DateTime? dateUntil, string tableName, int entityId, string userName, string action)
        {
            return DBAuditRepository.FindAllDBAuditDetails(dateFrom, dateUntil, tableName, entityId, userName, action);
        }

        public static DBAuditDetail GetDBAuditDetail(int id)
        {
            return DBAuditRepository.GetDBAuditDetail(id);
        }
    }
}
